From 7073778b3832435250f5977796d2e4a6a2e2d6b5 Mon Sep 17 00:00:00 2001 From: "ewan@linford.intra" Date: Tue, 13 Sep 2005 14:41:05 +0100 Subject: [PATCH] Pass the root directory to Doxyfilter and thence pythfilter.py so that the latter can get the namespace/packages correct. --- docs/Doxyfilter | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/Doxyfilter b/docs/Doxyfilter index a5c413bb44..6a6d50f734 100644 --- a/docs/Doxyfilter +++ b/docs/Doxyfilter @@ -1,12 +1,16 @@ #!/bin/sh +# +# Doxyfilter +# + dir=$(dirname "$0") PYFILTER="$dir/pythfilter.py" -if [ "${1/.py/}" != "$1" ] +if [ "${2/.py/}" != "$2" ] then - python "$PYFILTER" -f "$1" + python "$PYFILTER" -r "$1" -f "$2" else - cat "$1" + cat "$2" fi -- 2.30.2